home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amoszine 8
/
Amoszine 8 (Disk 2 of 3).adf
/
AMON_Extension.lha
/
amon_extension
/
examples_asc
/
TestAdd.asc
< prev
Wrap
Text File
|
1995-08-06
|
337b
|
22 lines
' Program: Test & Add array Example
' Author: Paul Overy
' Date: 6/8/95
'
Dim TEST(10),A(10)
TEST=1
'
Print "Test For";TEST
For K=0 To 10
TEST(K)=Rnd(2)
A(K)=Rnd(100)
Print TEST(K);" ";A(K)
Next K
'
Test Add Varptr(TEST(0)),Varptr(A(0)),TEST,-100,11
'
Print "---------"
For K=0 To 10
Print TEST(K);" ";A(K)
Next K